﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="cs" xml:lang="cs">
  <head>	
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
    <meta http-equiv="Content-Language" content="cs" />	
    <meta name="author" content="Pavel Kohout, Petr Koula, Alexandr Krátký, Tomáš Rejdal, Martina Zemaníková" />	
    <meta name="keywords" content="regionální, potravina, středočeský, kraj, regionální potravina, středočeský kraj, potravina středočeský" />	
    <meta name="Description" content="Semestrální práce na téma Regionální potraviny Středočeského kraje z předmětu IT CS" />	
    <meta name="robots" content="all" />	
    <title>Regionální potravina - Středočeský kraj
    </title>	
    <link rel="StyleSheet" href="css/screen.css" type="text/css" media="screen" />	
    <link rel="stylesheet" href="css/tisk.css" type="text/css" media="print" />  
<script type="text/javascript">
          //Input the IDs of the IFRAMES you wish to dynamically resize to match its content height:
    //Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none:
    var iframeids = [ "contentFrame" ]
    
    // Should script hide iframe from browsers that don't support this script (non
    // IE5+/NS6+ browsers. Recommended):
    var iframehide = "no"
    
    var getFFVersion = navigator.userAgent.substring(
    		navigator.userAgent.indexOf("Firefox")).split("/")[1]
    var FFextraHeight = parseFloat(getFFVersion) >= 0.1 ? 3 : 0
    // extra height in px to add to iframe in FireFox 1.0+ browsers
    
    function resizeCaller() {
    	var dyniframe = new Array()
    	for (i = 0; i < iframeids.length; i++) {
    		if (document.getElementById)
    			resizeIframe(iframeids)
    			// reveal iframe for lower end browsers? (see var above):
    		if ((document.all || document.getElementById) && iframehide == "no") {
    			var tempobj = document.all ? document.all[iframeids] : document
    					.getElementById(iframeids)
    			tempobj.style.display = "block"
    		}
    	}
    }
    
    function resizeIframe(frameid) {
    	var currentfr = document.getElementById(frameid)
    	if (currentfr && !window.opera) {
    		currentfr.style.display = "block"
    		if (currentfr.contentDocument
    				&& currentfr.contentDocument.body.offsetHeight) // ns6 syntax
    			currentfr.height = currentfr.contentDocument.body.offsetHeight
    					+ FFextraHeight;
    		else if (currentfr.Document && currentfr.Document.body.scrollHeight) // ie5+
    																				// syntax
    			currentfr.height = currentfr.Document.body.scrollHeight;
    		if (currentfr.addEventListener)
    			currentfr.addEventListener("load", readjustIframe, false)
    		else if (currentfr.attachEvent) {
    			currentfr.detachEvent("onload", readjustIframe) // Bug fix line
    			currentfr.attachEvent("onload", readjustIframe)
    		}
    	}
    }
    
    function readjustIframe(loadevt) {
    	var crossevt = (window.event) ? event : loadevt
    	var iframeroot = (crossevt.currentTarget) ? crossevt.currentTarget
    			: crossevt.srcElement
    	if (iframeroot)
    		resizeIframe(iframeroot.id);
    }
    
    function loadintoIframe(iframeid, url) {
    	if (document.getElementById)
    		document.getElementById(iframeid).src = url
    }
    
    if (window.addEventListener)
    	window.addEventListener("load", resizeCaller, false)
    else if (window.attachEvent)
    	window.attachEvent("onload", resizeCaller)
    else
    	window.onload = resizeCaller
</script>	
    <base target="text" />
  </head>
  <body onload="resizeIframe('contentFrame')">
    <table class="tabulka1">  
      <tr>  	<td>    	
          <img src="images/pozadi.jpg" alt="Regionální potravina - Středočeský kraj" width="796" height="169" />  	</td>  
      </tr>  
      <tr>  
        <td class="menu">       
          <div id="droplinemenu" class="droplinebar">      
            <ul>        
              <li>
              <a href="default.php">Úvod</a>
              </li>        
              <li>
              <a href="potraviny.php">Regionální potraviny</a>
              </li>        
              <li>
              <a href="kontakt.php">O nás</a>
              </li>      
            </ul>    
          </div>     </td>    
      </tr>  
      <tr>  
        <td class="nobordertd">  
          <iframe name="text" id="contentFrame" width="796" src="default.php" frameborder="0" scrolling="no" marginwidth="" marginheight="">          Prohlížeč nepodporuje vložené rámce nebo je nyní nakonfigurován tak, aby          je nezobrazoval.
          </iframe>  </td>  
      </tr>
    </table>
  </body>
</html>